package org.xdq.构建着模式;

public class Test {
    public static void main(String[] args) {
//        A.Builder builder = new A.Builder("001","名称1");
//        builder.setInfo("xinxi");
//        builder.setNum(56);
//        A a = builder.build();
//        System.out.println(a.show());


        A a = new A.Builder("002","名称2").setNum(123).build();
        System.out.println(a.show());
    }
}
